package com.example.demo.design.GoF.observer.rate;

/**
 * //具体目标：人民币汇率
 *
 * @author luowj12
 * @since 2021/5/8 15:08
 */
public class RMBrate extends Rate {
    @Override
    public void change(int number) {
        for (Company obs : companys) {
            ((Company) obs).response(number);
        }
    }
}
